import {fromJS} from "immutable"
// import { action } from "_mobx@5.15.7@mobx"
const defaultState = fromJS({
    // 存储初始数据
    title:"丽岛物业,只为更好的服务.",
    banner:[
        {
            imgUrl:"http://img01.yun300.cn/repository/image/59dd9e3f-e360-45da-b7eb-2511b28afe48.jpg?tenantId=74111&viewType=1&k=1606877716000",
            title:"丽岛",
            id:""
        },
        {
            imgUrl:"http://img01.yun300.cn/repository/image/36098d85-838e-480d-a81a-5f087c0d4935.jpg?tenantId=74111&viewType=1&k=1606877716000",
            title:"丽岛2",
            id:""
        },
        {
            imgUrl:"http://img01.yun300.cn/repository/image/9as9dixiTpCRBhUwOdhaJA.jpg?tenantId=74111&viewType=1&k=1606877716000",
            title:"扶贫",
            id:""
        },
        {
            imgUrl:"http://img01.yun300.cn/repository/image/ZvWCqSThS_uweG7gyT2erw.jpg?tenantId=74111&viewType=1&k=1606877716000",
            title:"用心",
            id:""
        },
    ]
})
export const data = (state=defaultState,action)=>{
    const{type,payload}=action
    switch(type){


        default:
        return state;
        break;
    }
}